import axios from "@/api/myaxios"
export function findAll(obj) {
    console.log(obj);
    return axios.get(`/xc/student`, { params: obj })
}
export function del(id) {
    return axios.delete(`/xc/student/${id}`)
}
export function update(obj) {
    return axios.put(`/xc/student`, {}, {
        params:
            obj

    })
}

export function add(obj) {
    console.log(obj);
    return axios.post(`/xc/student`, {}, {
        params:
            obj

    })
}